package com.liveinstars.im.core.service;

import com.liveinstars.api.im.vo.CandyBoxVO;

/**
 * @author: zhouze
 * @date: 2020/3/20
 */
public interface CandyService {

    /**
     * 创建红包
     * @param vo
     * @param userId
     * @return
     */
    CandyBoxVO createCandyBox(Long userId, CandyBoxVO vo);

    /**
     * 获取candy
     * @param userId
     * @param candy
     * @return
     */
    CandyBoxVO getCandy(Long userId, Long candy);

    /**
     * 获取红包详情
     * @param candyBoxId
     * @return
     */
    CandyBoxVO getCandyBoxDetail(Long candyBoxId);
}